home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 23
/
AACD 23.iso
/
CDTools
/
S
/
ShowButtons.awebrx
< prev
next >
Wrap
Text File
|
2000-03-28
|
673b
|
36 lines
/*
$VER: HideButtons.awebrx 1.1 (28.3.00) (c) Neil Bothwick, Wirenet
Hides the user and navigation buttons
*/
/* ;;; Initialise */
options results
AWebPort = address()
if ~abbrev(AWebPort,'AWEB.') then do
do i = 1 to 25
if show('P','AWEB.'i) then do
AWebPort = 'AWEB.'i
leave
end
end
if ~abbrev(AWebPort,'AWEB.') then exit
address(AWebPort)
end
;;;
/* ;;; Show buttons if hidden */
'getcfg showbuttons'
if result = 0 then 'setcfg showbuttons 1'
'getcfg navigation'
if result = 0 then 'setcfg navigation 1'
exit
;;;
/* ;;; Exit with a message */
ExitMsg:
parse arg msg
'request title "AACD QuickSearch" body "'msg'" gadgets "OK"'
exit
return
;;;